package Pieces;

public enum MoveDirections {
	NO,NE,EA,SE,SO,SW,WE,NW,DR; //DR = Drop
	
	public static MoveDirections getOtherDirection(MoveDirections md){
		if(md == MoveDirections.NO){
			return MoveDirections.SO;
		}else if(md == MoveDirections.NE){
			return MoveDirections.SW;
		}else if(md == MoveDirections.EA){
			return MoveDirections.WE;
		}else if(md == MoveDirections.SE){
			return MoveDirections.NW;			
		 }else if(md == MoveDirections.SO){
			 return MoveDirections.NO;				
		 }else if(md == MoveDirections.SW){
			 return MoveDirections.NE;					
		 }else if(md == MoveDirections.WE){
			 return MoveDirections.EA;					
		 }else if(md == MoveDirections.NW){
			 return MoveDirections.SE;
		 }else {//DROP
			 return MoveDirections.DR;
		 }
	}
}
